package com.aizuda.boot.modules.business.contract.entity.dto;

import com.aizuda.boot.modules.business.contract.entity.ContractFieldEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Schema(description = "模块包含字段DTO")
@NoArgsConstructor
@AllArgsConstructor
public class ModuleWithFieldsDTO {
    @Schema(description = "模块ID", example = "1")
    private Integer id;
    
    @Schema(description = "模块名称", example = "基础信息")
    private String moduleName;
    
    @Schema(description = "模块排序", example = "1")
    private Integer moduleOrder;
    
    @Schema(description = "包含字段列表")
    private List<ContractFieldEntity> fields;
}